package com.sqly.doc.menu.grjbxx;

import android.content.Intent;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.sqly.doc.R;
import com.sqly.doc.base.MyBaseActivity;

/**
 * Created by Administrator on 2017/11/22 0022.
 */

public class grjbxx_menu extends MyBaseActivity{
    LinearLayout grjbxx, xxfh, xty, xyj;
    //标题
    TextView title, uname;
    LinearLayout back;
    @Override
    protected void initUI() {
        setContentView(R.layout.grjbxx_menu);
        grjbxx =(LinearLayout)findViewById(R.id.l1);
        grjbxx.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(grjbxx_menu.this, jm_list.class));
            }
        });
        xxfh =(LinearLayout)findViewById(R.id.l2);
        xxfh.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(grjbxx_menu.this, grxx_fh_list.class));
            }
        });

        xyj =(LinearLayout)findViewById(R.id.l3);
        xyj.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(grjbxx_menu.this,measre_record_list.class).putExtra("category", "2"));
            }
        });
        xty =(LinearLayout)findViewById(R.id.l4);
        xty.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(grjbxx_menu.this,measre_record_list.class).putExtra("category", "1"));
            }
        });

        title = (TextView) findViewById(R.id.title);
        uname = (TextView) findViewById(R.id.uname);
        title.setText("个人基本信息");
        uname.setVisibility(View.GONE);
        back = (LinearLayout) findViewById(R.id.back);
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initListener() {

    }
}
